package com.dao;

import java.sql.SQLException;
import java.util.List;


public interface BaseDao<T,K> {
	Integer insert(T t) throws SQLException;
	Integer delete(K id) throws SQLException;
	Integer update(T t) throws SQLException;
	T selectById(K id) throws SQLException;
	List<T> selectAll() throws SQLException;
	
	
}
